﻿using System.Data.Entity.ModelConfiguration;
using ZY.EntityFrameWork.Core.Model.Entity;
using ZY.EntityFrameWork.Core.Model.Entity.Authority;


namespace ZY.EntityFrameWork.Core.Mapping.SQLServer
{
    public class UserMap : EntityTypeConfiguration<User>
    {
        public UserMap()
        {
            ToTable("UserInfo").HasKey(q => q.Id);
        }
        
    }
}
